package cn.idongjia.live.pojo;

import cn.idongjia.base.Base;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 授权类型表信息
 * Created by wuqiang on 16/3/31.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class AuthType extends Base {

    public static final int MANAGE_AUTH_TYPE = 1;       //管理权限
    public static final int AUDIT_AUTH_TYPE = 2;        //审核权限
    public static final int LIVE_AUTH_TYPE = 3;         //直播权限
    public static final int ASSIGN_AUTH_TYPE = 4;       //权限分配权限

    private static final long serialVersionUID = -494608131131815334L;

    private int atid;       //直播权限类型ID
    private String name;    //直播权限类型名称
    private Integer type;   //权限用户类型（0-直播用户，1-管理用户）

    public int getAtid() {
        return atid;
    }

    public void setAtid(int atid) {
        this.atid = atid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
